|
DX11 WRAP
Wraps the specified number around so that it fits in the given range.
For example, calling this with the value 150, minimum value 1 and maximum value 100 would result in 50 being returned.
Return Float = DX11 WRAP(value, min, max)
value Float The value to be wrapped in the given range.
min Float The minimum value in the range.
max Float The maximum value in the range.
The value wrapped to the given range.
MATH Functions Menu
DX11 Function Categories
|